home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 25
/
Cream of the Crop 25.iso
/
comm
/
yep16.zip
/
YEP.CFG
< prev
next >
Wrap
Text File
|
1997-04-09
|
9KB
|
215 lines
; Yarn Editor Pre/Post Processor version 1.6 (YEP) config file
; if this makes no sense to you email as544@torfree.net for help...
; editor codes: (in your Yarn CONFIG should be editor=yep.exe only)
; $L - line number (set to second line after message header if used)
; $l - (set line number to first line after quoted message if used)
; $F - Filename passed by Yarn...
; Here are some sample settings for various editors:
; Editor = "FTE.exe -#$L $F" ; FTE editor
; Editor = "EPM.exe $F 'goto $L'" ; EPM editor
; Editor = "cmd.exe /c PMFTE -#$L $F" ; PMFTE editor
; Editor = "q.exe $F /n$L" ; Qedit editor
Editor = "EPM.exe $F 'goto $L'"
; This value is added to (or subtracted from, if a negative number) the
; line number passed to the editor above; for fine tuning preference.
CursorAdjust = "0"
; Strip all the unused header lines? "No"/"Yes"
CleanHeader = "No"
; display the progress dots when entering/exiting Yep? "Yes"/"No"
ShowDots = "Yes"
; A log file to add URLs captured from messages. Delete or disable
; (as is the default) this directive to disable URL grabbing feature.
; Please refer to the "yepu.doc" for info on Url Log management tools.
; UrlLog = "c:\osu\yarn\url.log"
; If you set the PgpPassword then this password will be used each
; time you sign/encrypt with PGP using Yep blocks. Optionally you
; may encrypt this value with the YPenc utility bundled with Yep.
; PgpPassword = "pass phrase or encrypted pass phrase"
; Normally there is a blank line separating the header and body of the
; message. I've been told that the Emacs editor in "mail-mode" would
; prefer something else to seperate the header and body. The following
; line can be used to seperate header/body and stripped when exiting.
; EmacsHeader = "--text follows this line--"
; if you use the [PRE MESSAGE] block then do you want a space added
; after your "pre message" lines, if any are printed?
; PreMessageSpace = "Yes"
; Following is a list of backslash separated filename patters that Yep
; will process. Careful, these are not REAL wildcards. You can put a *
; either at the beginning of the pattern or the end. That's all. The
; following patterns support Yarn, MR2/ice, PostRoad Mailer.
Process = "*.snd\*.msg\message$.r*\*.pop"
;-----------------------------------------------------------------------
[Header]
;-----------------------------------------------------------------------
; all non-blank, non-comment, lines in this section between the [header]
; and [header end] tags are appended on the end of the message header.
; (only the first 50 are used - if that's not enough email me...).
; The following are included as EXAMPLES only. Please delete and customize!
;X-PGP-Fingerprint: A4 3B D5 A9 C2 26 F2 34 FD 85 A5 8E 15 09 79 6B
; the following two lines add an X-Newsreader header if you are writing
; to a newsgroup, or a X-Mailer header if you are writing email.
{SetFlag:false}{ifng:.}X-Newsreader: Yarn for OS/2 v0.92
{IfFlag:false}X-Mailer: Yarn for OS/2 v0.92
; these next several lines demostrate using conditional tags for headers.
; notice how, after the first line, the "setflag" is used: because
; otherwise if a previous condition is met then the global flag (see
; section 5 of yep.doc) will be set to "true" and further conditions
; will be ignored until the global flag is set to false.
{SetFlag:false}{IfDate:Fri}X-TGIF: The weekend is here at last! Woohoo!
{SetFlag:false}{IfNG:sex}X-Disclaimer: I'm asking for a friend, honest.
; the next example shows how you can use substitution tags in a header.
; the substitution is defined below and uses an external program.
; X-Moon-Phase: {moond}
; that was the old way of doing things (i leave it for an example), but
; the new built in POM works faster like this:
X-Moon-Phase: {pom:4}
; the next example shows how you can use "Exec" and "ImpL" tags to
; import a specific line (3) of text from the output of another program.
; For more info on this example see "ImpL" in section 3 of yep.doc:
; X-OS2-{exec:go -ut >utmp}{impL:3:utmp}
; If you use the penet.fi anonymous remailer you might like a header
; like one of these:
; {ifTO:anon.penet}X-Anon-Password: secret
; {ifTO:anon.penet}X-Anon-Password: {ypdec:725101251234208215502137499}
[End Header]
;-----------------------------------------------------------------------
[Substitutions]
;-----------------------------------------------------------------------
; up to 100 non-blank, non-comment lines containing substitutions to be
; made when scanning messages before and after calling the editor,
; in this format: "original text"::"replacement text". This can be
; used to create macros or customize tags for use for mailing lists
; (using the {IMP:} tag), etc. Use your imagination. All substitutions
; and tags are NEVER case sensitive. Following are examples:
; this would make a tag which will import my PGP key
; "{pgpkey}"::"{IMPF:C:\pgp\tim.key}"
; this creates a "macro" which runs a program to get a quote and import it
; the "grbquote" program is provided in the YX-13.ZIP package.
"{quote}"::"{Exec:grbquote.exe /s >qtmp}{ImpF:qtmp}"
; this imports a random SIG with the root name "my-sigs" (ie. my-sig.1,
; my-sig.2, my-sig.3, and so on, are chosen from randomly. Note full path.)
"{rsig}"::"{RndF:c:\yarn\my-sigs}"
; I must cover up my persistant stupidity!
"thier"::"their"
"wierd"::"weird"
; a tag which can be entered in an email To: or Cc: field to email
; to a bunch of folks...
"{L1}"::"as544@torfree.net,ab651@freenet.durham.org,x@vex.net"
; another example using a program in the YX-13.ZIP package. This tag
; then will be replaced by the moon's age and used in a Header example.
; (this is obsolete, but is left as an example)
"{moond}"::"{Exec:moondays /n >mtmp}{ImpF:mtmp}"
[End Substitutions]
;-----------------------------------------------------------------------
[PRE MESSAGE LINES]
;-----------------------------------------------------------------------
; up to 25 non-blank, non-comment lines containing lines while you
; want inserted after the message header, but before your message.
; I have no idea what you'd want to use this for <-:
[END PRE MESSAGE LINES]
;-----------------------------------------------------------------------
[BLOCK PROCESSING DEFINITIONS]
;-----------------------------------------------------------------------
; Up to 15 block processing definitions. see the docs for details <-:
; On the command line *I will be input filename, *O will be the output
; filename, and *P will be any additional parameters passed.
; the following example for PGP is explained in the Yep.Doc, it allows
; an encryption block to certain recipients: [pgp someone anyone]
"[pgp]"::"pgp -seat *i -o *o *p"
; Hint: to encrypt all messages ALSO to yourself add your name (or PGP
; ID) after the *p in the above command
; this example uses a simple rexx script (include in archive) that will
; search and replace a character or a string for another. (note: you can
; use any two chracters for the beginning and end of the block marker).
; for example a block starting {rpl o *} will replace all o's with *'s.
; Note: don't use <rpl> due to output rediriction (>) would blow up. Also
; the redirected *o must have double quotes. See docs for details.
; And also: don't try this one at home, kids! (rep-rexx.cmd is in the
; yx-13.zip archive).
"{rpl}"::"rep-rexx.cmd *i *p >"*o""
; simple pig latin filter example, as mentioned in the Yep.doc. The Pigsay
; program is included in the YepUtil archive. Note: quotes on redirection.
"[pig]"::"pigsay <"*i" >"*o""
[END BLOCK PROCESSING DEFINITIONS]
;-----------------------------------------------------------------------
[URL EXCLUSIONS]
;-----------------------------------------------------------------------
; up to 20 non-blank, non-comment lines containing URLs, or parts of
; URLs, (if URL grabbing is enabled) you definitely don't want grabbed.
; Most likely candidates to include would be your own URLs (as used
; in SIG files, perhaps), and those of friends you coorespond with often.
; The following exclusion would ignore all URLs that contain www.io.org/~tm
; so none of my old web pages would be captured.
; www.io.org/~tm
www.netscape.com
www.microsoft.com
[END URL EXCLUSIONS]
; ok?